I have discovered a solution to this problem myself...
CHANGE THIS:
while (!mpuInterrupt && fifoCount < packetSize)
{}
IN THIS:
while (fifoCount < packetSize)
{
fifoCount = mpu.getFIFOCount();
}
Now you can delete the line with "AttachInterrupt" in the setup and the MPU6050 should work properly.
Sorry for the english.