Hwang Hee-Chan grabbed a second-half winner to stun the champions.
Beale may be entering his final days in Govan, with his side already seven points behind league leaders Celtic.
Havertz was without a goal or assist in his first nine Gunners appearances.