I believe that @susan-parker posted how to do it in a post she made.
However, to be strictly legal it needs all the FCC and CE tests redoing once you make a change like this before it can be considered a legal product you can sell. There are other certifications for other countries, see the back of the appropriate R4 board for a list. Note as the WIFI is an intentional emitter it will be a different set of tests that the Minima.