It has happened to me before too. Just eat some foods high in fiber, like any Fiber One products. Your body doesn't use fiber for anything, so it just tries to push it out which is why it makes you poop.
Here is a website that might help.
http://commonsensehealth.com/Diet-and-Nutrition/List_of_High_Fiber_Foods.shtml