Well, your schematic is the same as the data sheet reference schematic but missing the large power supply capacitor. Try adding that. High gain, high power amplifiers are sensitive to layout. Make sure that the output can't capacitively couple back to the input and that the speaker return signal has a good path directly back to the supply capacitor. Are you building this on a PCB, perfboard, or solderless breadboard? If you are using solderless breadboard ditch it for perfboard or an etched PCB.