There are other things you can do to help relieve constipation. You don't mention your daughter's age, but presuming she is old enough to eat table food, there are a number of foods that will help to keep the stools soft and moving. Fruits and vegetables are always good choices, and "P" fruits such as prunes, plums, and pears add lots of fiber that helps. Drinking some water every day goes a long way toward keeping the stools soft, too. If your child is a least a year old, you can have her drink four ounces of water two or three times a day.
If your daughter still has significant complaints from constipation, you should talk with her doctor about it.