Recently, the phones with high screen-to-body ratio are popular in the market, and it leads to the demand of in-display fingerprint recognition. The optical fingerprint sensor is based on frustrated total internal reflection (FTIR), and the camera type independent on the panel process is cost-effective and with high yield rate. To meet the volume constraint of the smart phone, a miniaturized compact lens is designed. For maximizing the sensing area in the limited space, the field of view can reach 128°. To increase the accuracy and speed of the recognition, the design has extremely small distortion and low f-number. Mostly importantly, the resolution should be sufficient for the fingerprint extraction algorithm. To achieve the specifications, the lens is designed with three aspheric plastic lenses using injection molding. In this paper, the procedure of optical design, mechanical design, lens fabrication and assembly of the prototype is presented. Finally, the prototype is employed for fingerprint identification.