your gcode is trying to move the motors to fast, jog is much slower (uses the feed rate of your control software)
ideally you should set the max feed rates in your firmware to the max the machine can handle, then no matter what stilly gcode is sent it will be limited to the max of the machine.
ie
* Default Max Feed Rate (mm/s)
* Override with M203
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
*/
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
most machines for eg cant do 5mm/s on Z and this should be 2 or 3.
You should also similarly change the X and Y to fit your machine
to work out your max just try some gcodes eg G1 X100 f2000 where f is in mm/min so divide by 60 for mm/s
when you find the limits of the machine set these in firmware.
more info on G1 [
reprap.org]