The Dutchman struggled to show his true form at the beginning of the season, failing to score in his first seven games, and was constantly in and out of the side as Ranieri rotated his three strikers of Hasselbaink, Gianfranco Zola and Eidur Gudjohsson around.
The former Leeds man has now recaptured something approaching his best form, scoring in the last two games against Manchester City and West Brom, but he feels he could have been given more backing by Ranieri when he was misfiring in front of goal.
"I was in and out of the team, which did not help me at all," Hasselbaink told ITV's On The Ball. "I'm the kind of player that needs games. I need to play well and have my goals and it didn't work out.
"I think it tested my relationship with Mr Ranieri. I was not complaining to him but I was quite annoyed because I think that you can give me more belief than that. I didn't feel I was getting it at a certain stage.
"What you have done in the past doesn't count any more in football. But I thought he'd stick with me. Maybe I was wrong, but that was the feeling I had."
It has been suggested that Hasselbaink's indifferent form could be down to the speculation surrounding possible interest from Barcelona, but Hasselbaink insists he is fully committed to Chelsea and wants to help them qualify for the Champions League.
"I've never spoken to anyone from Barcelona, only to my agent," added Hasselbaink. "The only thing I said was I would listen to any offer from Barcelona and then make my decision. That's a normal thing for a player to do.
"It's important for Chelsea to get into the Champions League because we want to play at the highest level and have missed it now for the last two years."