A method of producing a drilling jig for implantation of a hearing aid involves capturing a molded imprint (14) of a patients upper teeth (12) by solidifying an elastic material on them connecting the teeth print to a jig (16) having a lateral beam (20) and navigation benchmarks (22) positioning the jig on the patients head (10) using the imprint capturing a three-dimensional image of the patients head with the jig in place determining a minimal invasive drilling axis (28) for hearing aid implantation based on the three-dimensional image and manufacturing a customized jig having a drilling guide opening (24) in the lateral beam of the jig for guiding a drilling tool (26). The position and orientation of the drilling guide opening are selected to guide the drilling tool along the determined minimal invasive drilling axis when the jig is positioned on the patients head by using the imprint (14).