Ibuprofen thins your blood. From what I understand it can cause sever bleeding when it is time to deliver. You can talk to your doctor and sometimes even the pharmacist about the risks.
Honestly, I'm not exactly sure why it is so unsafe. However, on my first visit to the doctor, I was informed not to take anything with Ibprofen in it. Tylenol is just fine though.