There are earplug products designed to do exactly that, and they come in kid sizes, too - they S L O W L Y equalize air pressure through baffles and ceramic filters, preventing pain caused by rapid air pressure changes. If you can get your daughter to keep them in for the entire flight, they should provide relief for the worst moments.
Do they work in restaurants and supermarkets ?