The Land Before Time/Shrek

Littlefoot = Shrek

Petrie = Donkey

Ruby = Princess Fiona