Terpene cyclase that catalyzes the cyclization of farnesyl diphosphate (FPP) to beta-gurjunene. The DDXXD motif is important for the catalytic activity, presumably through binding to Mg(2+). Belongs to the terpene synthase family.