Bill Maher's film was not presented with the intent of trashing Islam, however. And by the way, "Arabic" is not exactly a language; it is more like a family of languages. Moroccans cannot understand Egyptians, Egyptians cannot understand the few Pakistanis who speak somne sort of "Koranic Arabic", either. Plus, literacy in Arabic speaking countries is rather low, and Maher's film deals in intellectual concepts. The fact it, it did not cause riots, so making it was not stupid.
Of course, the clown who made the "Innocence of Islam" trailer cannot be prosecuted in the US and I am not suggesting that. he was a deliberate troublemaker; the goal of the film was not to point out that it was unwise to be a Muslim; it was made to deliberately incite the more simple-minded Muslims to riot.