Please trim all of that white-space from the images and upload them over here, on this forum, rather than an external hosting site.
Where did you get the new cord from? The wires should be colour coded. Are there different colours, under the outer sheath? The middle appears to be green, which should go to the grinder's frame. Check it's connected to the ground pin of the mains plug, using the continuity tester on a multimeter.
You really should use the correct crimps and crimping tool to connect the wires to the grinder.