The win has secured Juve Champions League football for next season and Ranieri said: "I must thank everyone who works here for all they have done this season.
"To be third with three rounds to go is an extraordinary result. I must compliment the youngest players too, as they immediately picked up the winning mentality.
"This squad has followed my suggestions from the very first day of pre-season training and you have seen that spirit throughout the campaign."
Alessandro Del Piero was on target again in the 5-2 win, as was current Capocannoniere David Trezeguet.
"We did a great deal in the first half and rather took our foot off the gas in the second, perhaps because our advantage seemed reassuringly solid. It was important to win today and we did with a positive performance."