Basically yes. The exact details should be found in local codes. Here's an example which I cite from my question on Electronics SE:
Here's how good earthing was described in one domestic pump manual (I'm pretty sure that it correlates well with local building codes): three steel pipes each at least one inch in diameter and twenty feet (six meters) length must be driven into earth vertically in a triangle pattern with at least two feet distance between each two pipes. The top of each pipe must be at least two feet below the ground surface. A common steel rod must be welded to all three and the equipment being earthed must be connected to that rod. Welding spots must be painted to protect them from corrosion.
Again, that description is from a rather old manual of a pump sold in Soviet Union in 1980s, you have to find exact details in your local codes. Answers to that question say that it's a far more impressive grounding that usually used.
That said, it's unlikely that having grounding will stop short-circuiting. The whole point of grounding is to connect the parts exposed to humans to ground so that if for any reason those parts are energized the current flows freely into the ground and that often enforces a short circuit and trips the breaker. So grounding is more likely to enforce short circuiting (for the sake of protecting the innocent) than prevent it.
The likely problem is that something is wrong with either the machine or with the wiring. Since you say it trips the breaker after several seconds of operation it maybe that the wiring and the breaker are undersized - when the machine turns on it slightly overloads the wiring and the breaker trips.
Breakers don't always trip immediately - the reaction time depends on overload percentage. When you have a short circuit the overload is extreme and the breaker trips instantly but when you have several dozens percent overload it may take some time to trip.